package com.finance.service;

import com.finance.domain.Category;

import java.util.List;

public interface CategoryService {

    List<Category> selectAllCategory(String userId);

    Integer selectCategoryBySlug(String blogCategory);

    Category selectByPrimaryKey(Integer cgid);

    int selectCountOfCategory();

    String selectCategoryNameById(Integer cgid);

    int updateCategory(Category category);

    int deleteCategory(int parseInt);

    int insertCategory(Category category);
}
